package com.example.jobback.service.manager;

import com.example.jobback.resp.manager.position.GetPositionMessageResp;
import com.example.jobback.resp.manager.position.page.MCrossGetPagePositionsResp;
import com.example.jobback.resp.manager.position.publish.ManagerPendingPubJobResp;
import com.example.jobback.resp.manager.position.update.ManagerPendingUpdateJobResp;
import com.example.jobback.result.Result;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @InterfaceName: ManagerPositionService
 * @Description:管理员-岗位管理服务接口
 * @Author: lhb
 * @Date: 2025/6/21
 */
@Service
public interface ManagerPositionService {
    Result<List<ManagerPendingPubJobResp>> getPublishPositionLists();

    Result<Object> verifyPublishPositionFailed(String code, String failMessage);

    Result<Object> verifyPublishPosition(String code);

    Result<List<ManagerPendingUpdateJobResp>> getUpdatedPositionLists();

    Result<Object> VerifyChangePosition(Long positionId);

    Result<Object> VerifyChangePositionFailed(Long positionId, String failedMessage);

    Result<MCrossGetPagePositionsResp> getPositions(int page, int size, String content);

    Result<GetPositionMessageResp> getPositionMessage(Long positionId);
}
